feat(web): add Kazakh and Russian UI translations - #714
Conversation
|
@mxm-slt is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
|
Thank you!!! let's get the lint fixed and I'll test responsivness of the UI |
|
@mxm-slt happy to get this merged once you feel ready! |
dcd606b to
2988844
Compare
2988844 to
628cfb2
Compare
Greptile SummaryThe PR registers Kazakh and Russian as supported dashboard locales and adds catalogs for every current namespace, together with translation guidance and catalog tests.
Confidence Score: 4/5The recurring-payment Russian translations should be corrected before merging because they present collection as a refund and resume actions as résumé/CV operations. Existing recurring-payment callers render the incorrect Russian strings directly in success, failure, and retry states, giving Russian users materially wrong information about the action performed or available. Files Needing Attention: apps/sdp-web/messages/ru/dashboard-payments.json Important Files Changed
Reviews (1): Last reviewed commit: "feat(web): add Kazakh and Russian UI tra..." | Re-trigger Greptile |
| "everyWeeks": "Каждые {count} недели", | ||
| "everyDays": "Каждые {count} дня", | ||
| "paymentActivated": "Активирован регулярный платеж.", | ||
| "collectionSubmitted": "Подача возврата регулярных платежей.", |
There was a problem hiding this comment.
Recurring-payment actions are mistranslated
When a Russian-locale user submits a collection or retries a failed resume, these strings describe a refund and a résumé/CV instead of the recurring-payment actions, causing the success message, error title, and retry button to communicate the wrong operation. The related resumeFailed and retryResume translations on lines 819 and 824 need the same correction.
File Used: .github/translation-guidance.json (source)
Knowledge Base Used: sdp-web dashboard app
What
Add complete Kazakh (
kk) and Russian (ru) UI message catalogs for every current SDP web namespace and register both locales in the runtime catalog.The PR now covers all nine English catalog files: root UI, shared UI, approvals, custody, Earn, issuance, payments, policies, and Private Channels. Locale-specific guidance also keeps future automated additions aligned with the reviewed terminology.
Why
Kazakh- and Russian-speaking users should be able to use the full dashboard in their preferred language without falling back to English in newer product areas.
This translation was prepared by Superteam KZ for Kazakhstan's Kazakh- and Russian-speaking communities. Kazakh is Kazakhstan's state language, while Russian is officially used on an equal footing with Kazakh in state organizations and local self-government bodies.
Impact
Validation
pnpm --filter sdp-web typecheck— passed.pnpm --filter sdp-web test:unit— 1,009 tests passed.pnpm test:scripts— 65 tests passed.